package com.four.seckill.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Time;
import java.time.LocalTime;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gs
 * @since 2021-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mark_allocation")
public class Allocation extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 商品配置id
     */
    @TableId(value = "all_id", type = IdType.AUTO)
    private Integer allId;

    /**
     * 配置名称
     */
    private String seName;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT-8")
    private Date seStartTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT-8")
    private Date seEndTime;

    /**
     * 图片
     */
    private String allRotationChart;

    /**
     * 状态
     */
    private Integer allStatus;

    /**
     * 创建时间
     */
    private Date createtime;


}
